﻿<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.evolutility.com" title="成品入库" icon="cube.gif" description="ExportOrImport">
  <data dbtable="MRP_ImportExport" splogin="asp.net membership" dbcolumnpk="ID" dbwhere="ExportOrImport=1 and Exists(Select * from MRP_MaterialMain where MRP_MaterialMain.ID=T.MaterialID and MRP_MaterialMain.MType=5)" sppaging="EvoSP_PagedItem @SQLselect, @SQLtable, @SQLfrom, @SQLwhere, @SQLorderby, @SQLpk, @pageid, @pagesize" />
  <panel userid="1" ppos="1" label="产品入库" width="100">
    <field id="36" type="text" typeid="5" label="入库单号" dbcolumn="BillNO" dbcolumnread="BillNO" supportsession="inP" maxlength="128" readonly="2" required="1" optional="" fpos="10" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="153"  type="lov" typeid="5" label="成品名称" htmlcontrol="textselect" dbcolumn="MaterialID" dbcolumnread="NameAndCode" dbcolumnreadlov="NameAndCode" dbwherelov="View_MaterialNameAndCode.MType=5" dbtablelov="View_MaterialNameAndCode" maxlength="2" readonly="0" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="70" />
    <field id="154" type="integer" typeid="10" label="数量" dbcolumn="Quantity" jsvalidation="MyMRP.check_ProductImportQuantity"  dbcolumnread="Quantity" maxlength="8" readonly="0" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="156" type="textmultiline" typeid="6" label="备注" dbcolumn="Note" dbcolumnread="Note" maxlength="256" readonly="0" required="" optional="" fpos="40" search="1" searchadv="1" searchlist="1" height="3" width="100" />
    <field id="158" type="datetime" typeid="17" label="录入时间" defaultvalue="_now" format="{0:d} {0:t}" dbcolumn="CreatedDate" dbcolumnread="CreatedDate" maxlength="4" readonly="0" required="2" optional="" fpos="60" search="1" searchadv="1" searchlist="" height="1" width="30" />
    <field id="155" type="lov" typeid="5" label="入库" dbcolumn="ExportOrImport" dbcolumnread="DisplayText"
       dbtablelov="View_ExportOrImport_List" dbcolumnreadlov="DisplayText" defaultvalue="1" maxlength="0" readonly="1" required="1" optional="" fpos="30" search="0" searchadv="1" searchlist="0" height="1" width="20" />
  </panel>
</form>

